<?php
	require_once("../includes/user.php");
	$user=new User();
?>
<script src="js/quiz.js" language="javascript"></script>
<script src="js/admin.js" language="javascript"></script>
 <script type="text/javascript" src="js/datepicker.js"></script>
 
<div class="highlight" id="div_news">
    		<h3 align="left"><span class="profile">General</span></h3>
    		<div align="left">
    		  <ul>
    		    <li onclick="show_admin_inbox()"><span class="profile">Inbox</span></li>
    		    <li id="quiz" onClick="load_quiz()"><span class="profile">Quiz</span></li>
    		    <li onclick="admin_report()"><span class="profile">Points Report</span></li>
   		      </ul>
  </div>
</div>
<div class="highlight" id="div_requests">
<h3 align="left"><span class="profile">Requests</span></h3>
<div align="left">
  <ul>
    <li id="accept_regetration" onclick="viewProfileRequest()"><span class="profile">Accept Registration
        <?php 
	$count=$user->recCount('user_profile',"accept=0");
	if($count>0)
	{
		echo '(<strong>'.$count.'</strong>)';
	}
?>
    </span></li>
    <li id="academic_request" onclick="academicRequest()"><span class="profile">Academic</span></li>
    <li id="ex_curr_request" onclick="exCurrRequest()"><span class="profile">Extra Curricular</span></li>
  </ul>
</div>
</div>
<div class="highlight" id="div_settings">
  <h3 align="left"><span class="profile">Settings</span></h3>
  <div align="left">
    <ul>
      <li onclick="adduser()"><span class="profile">Add User</span></li>
      <li onclick="blockuser()"><span class="profile">Block User</span></li>
      <li onclick="editptsys()"><span class="profile">Point System</span></li>
      <li onclick="assign_office()"><span class="profile">Assign Office Bearers</span></li>
      <li id="change_pass" onclick="change_pass()"><span class="profile">Change Password</span></li>
    </ul>
  </div>
  <ul>
  </ul>
</div>
